#define _CRT_SECURE_NO_WARNINGS 1
#include "heap.h"
void test1()
{
	heap hp;
	init(&hp);
	heappush(&hp, 8);
	heappush(&hp, 5);
	heappush(&hp, 9);
	heappush(&hp, 10);
	heappush(&hp, 7);
	heappush(&hp, 2);
	print(hp);
	printf("\n");
	heappop(&hp);
	print(hp);
}
int main()
{
	test1();
	return 0;
}